package com.zyb.statistics.client;

import com.zyb.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "service-ucenter",fallback = CountRegisterClientFeign.class)
public interface CountRegisterClient {

    //根据日期统计当天的注册人数
    @GetMapping("/educenter/ucenter-member/countRegister/{day}")
    public R countRegister(@PathVariable("day") String day);
}
